package round89;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.HashSet;
import java.util.Set;

public class A {
    public static void main(String[] args) throws IOException {
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        StringBuilder str = new StringBuilder(in.readLine());
        Set<Character> vowels = new HashSet<Character>();
        vowels.add('A');
        vowels.add('E');
        vowels.add('I');
        vowels.add('O');
        vowels.add('U');
        vowels.add('Y');
        for (int i = 0; i < str.length(); ) {
            if (vowels.contains(Character.toUpperCase(str.charAt(i)))) {
                str.deleteCharAt(i);
                continue;
            } else {
                str.insert(i++, '.');
                str.insert(i, Character.toLowerCase(str.charAt(i)));
                str.deleteCharAt(++i);
            }
        }
        System.out.println(str.toString());
    }
}
